#include "POPObject.ph"
#include <unistd.h>

POPObject::POPObject() {
    banana.id = 1;
    banana.weight = 0.625;
    apple.id = 2;
    apple.weight = 0.500;

    cout << "POPCobject created (by JobMgr) on machine:" << GetAccessPoint().GetAccessString() << popcendl;

    cout << "Apple weight is:" << apple.weight << " Banana weight is: " << banana.weight << popcendl;
}

POPObject::~POPObject() {
    cout << "POPCobject: on machine:" << POPSystem::GetHost() << " is being destroyed" << popcendl;
}
